package com.biz.impl;

import com.biz.MenuRightBiz;
import com.core.AbstractBiz;
import com.dao.MenuRightDao;
import com.entity.model.MenuRight;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by asan on 2017/09/17.
 */
@Service
@Transactional
public class MenuRightBizImpl extends AbstractBiz<MenuRight> implements MenuRightBiz {
    @Resource
    private MenuRightDao menuRightDao;

    @Override
    public List<MenuRight> findBtnRight(Integer menuId, Integer managerId) {
        return menuRightDao.findBtnRight(menuId, managerId);
    }
}
